package com.example.newheze.Util;

public class ArrayUtil {
    public static float[] reverseArray(float[] Array) {
        float[] new_array = new float[Array.length];
        for (int i = 0; i < Array.length; i++) {
            new_array[i] = Array[Array.length - i - 1];
        }
        return new_array;
    }
    public static String[] reverseArray(String[] Array) {
        String[] new_array = new String[Array.length];
        for (int i = 0; i < Array.length; i++) {
            new_array[i] = Array[Array.length - i - 1];
        }
        return new_array;
    }
}
